package com.xh.service;

import com.xh.vo.Blog;

import java.util.List;

public interface BlogService {
    void NewBlog(Blog blog);

    List<Blog> getBlogList();

    List<Blog> getBlogListBySort(String sort);

    Blog  getBlogListById(Integer bId);

    void newParis(Integer bid);

    void deleteParis(Integer bid);

    List<Blog> getBlogListByUserId(Integer userId);

    void deleteBlog(Integer bId);

    List<String> queryCountBlog();

    List<String> queryQueryCountBlogUserName();
}
